package city.spring.modules.material.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 实体类：物资出库与物资关联表
 *
 * @author 谢金婷
 * @date 2020-07-02 13:42:10
 */
@Data
@TableName("materialdelivery_material_ext")
public class MaterialdeliveryMaterialExtEntity implements Serializable {

    /**
     * ⁯id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 出库单编号
     */
    private String materialdeliveryId;

    /**
     * 入库物资表id
     */
    private String materialwarehousingMaterialId;

    /**
     * 仓库名称
     */
    private String storehouseId;
    @TableField(exist = false)
    private String sname;

    /**
     * 物资名称
     */
    private String materialId;
    @TableField(exist = false)
    private String name;

    /**
     * 出库数量
     */
    private BigDecimal deliveryquantity;

    /**
     * 总金额
     */
    private BigDecimal total;

    /**
     * 单价
     */
    private BigDecimal unitprice;

    /**
     * 单位
     */
    private String unitmeasurement;

    /**
     * 落位
     */
    private String location;


}